package com.serverplic.media;

public class Text
{
	private int id;
	private String name;
	private String title;
	private String shortText;
	private String text;
	private Point point;
	
	public int getId()
	{
		return id;
	}
	
	public void setId(int _id)
	{
		id = _id;
	}
	
	public String getName()
	{
		return name;
	}
	
	public void setName(String _name)
	{
		name = _name;
	}
	
	public String getTitle()
	{
		return title;
	}
	
	public void setTitle(String _title)
	{
		title = _title;
	}

	public String getText()
	{
		return text;
	}
	
	public void setText(String _text)
	{
		text = _text;
	}
	
	public String getShortText()
	{
		return shortText;
	}
	
	public void setShortText(String _shortText)
	{
		shortText = _shortText;
	}
	
	public Point getPoint()
	{
		return point;
	}
	
	public void setPoint(Point _point)
	{
		point = _point;
	}
	
	@Override
	public String toString()
	{
		String txt = "Text\n";
		txt += "ID : " + id + "\n";
		txt += "Name : " + name + "\n";
		txt += "Title : " + title + "\n";
		txt += "Short Text : " + shortText + "\n";
		txt += "Text : " + text + "\n";
		txt += "Parent Point name : " + point.getName() + "\n";
		return txt;
	}
}
